home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 46
/
Aminet 46 (2001)(GTI - Schatztruhe)[!][Dec 2001].iso
/
Aminet
/
text
/
print
/
cha_willprint.readme
< prev
next >
Wrap
Text File
|
2001-11-03
|
2KB
|
60 lines
Short: Insert hex codes into text
Author: Claude Heiland-Allen <claude.heiland-allen@lincoln.oxford.ac.uk>
Uploader: Claude Heiland-Allen <claude.heiland-allen@lincoln.oxford.ac.uk>
Version: 1.1 (2000.01.20)
Type: text/print
Requires: AmigaOS v37
$VER: cha_willprint.readme 1.2 (2001.10.30) Claude Heiland-Allen
I knocked up this little utility for Will on the Amiga-Hacks
mailing list, so he could send hex in text. Hi Will!
Usage: cha_willprint <inputfile >outputfile
Example: cha_willprint <cha_willprint.example >PAR:
File format: you put a hex code in between <...> in your
text (upper or lower case, must be two digits), and the
output will contain that hex code. This means that you
can't use < and > in the text itself, but you can use the
codes <3C> and <3E> respectively. Check out the example
text.
Notes:
- you can abort with control-C if you're getting scared
- no error messages: check the return code in the shell
(0 is good, not 0 is bad)
- if you use Amiga escape codes and send the output to
PRT: it should be more hardware independent than using
printer escape codes and sending the output to PAR:,
but then special printer commands are much longer, and
you need a driver for the printer
Future:
- standard ANSI codes (perhaps like <#bold> ... <#\bold>)
- no new version will appear if no-one wants it
Contents:
cha_willprint/.build make file
cha_willprint/.distribution distribution script
cha_willprint/cha_willprint the program
cha_willprint/cha_willprint.e E source code
cha_willprint/cha_willprint.example example text
cha_willprint/cha_willprint.out example output
cha_willprint/cha_willprint.readme this file
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
334 149 55.3% 20-Jan-00 16:31:08 +.build
341 176 48.3% 20-Jan-00 16:31:08 +.distribution
1816 853 53.0% 20-Jan-00 16:31:08 +cha_willprint
1509 727 51.8% 20-Jan-00 16:31:08 +cha_willprint.e
212 167 21.2% 20-Jan-00 16:31:08 +cha_willprint.example
195 153 21.5% 20-Jan-00 16:31:08 +cha_willprint.out
1772 803 54.6% 20-Jan-00 16:31:08 +cha_willprint.readme
-------- ------- ----- --------- --------
6179 3028 50.9% 01-Nov-101 07:56:12 7 files